" Vim syntax file
" Language:	C++
" Maintainer:	Ken Shan <ccshan@post.harvard.edu>
" Last Change:	2002 Jul 15

" For version 5.x: Clear all syntax items
" For version 6.x: Quit when a syntax file was already loaded
if version < 600
  syntax clear
elseif exists("b:current_syntax")
  finish
endif

syn keyword HolyNames		YHWH Yeshua Adonai adown elahh elohim elowahh
syn keyword TanakhTodo		contained TODO NOTE
syn region TxtTitle			start="^# " end="$"
syn region Index			start="^[A-Z1-3][A-Za-z][a-z] \d\+:\d\+" end=" "
syn region Footnotes		start="^Footnotes:$" end="^$"
syn match Section			"^[A-Z].\{3\}[^0-9]*[^:]$"
syn match  NoteFlag			"\[\d\+\]"

hi def link Section			Special
hi def link HolyNames		Statement
hi def link Names			Underlined
hi def link TxtTitle		Special
hi def link Index			Number
hi def link Footnotes		Comment
hi def link NoteFlag		Comment
hi def link TanakhTodo		Todo

let b:current_syntax = "tanakh"

